<div class="form-container">
<div class="validation-errors" id="validationErrors" style="display:none;"></div>
<div class="walk-register-buttons" style="float: left;">
<a href="<?php echo( base_url() ); ?>cmb/member/home/<?php echo( $urlKey ); ?>/" target="_self">Member Home</a>
->&nbsp<a href="<?php echo( base_url() ); ?>cmb/member_reports/gen_reports/<?php echo( $urlKey ); ?>/" target="_self">Reports Home</a>
->&nbsp<a href="<?php echo( base_url() ); ?>cmb/member_reports/gen_reports_mahasamadhi_home/<?php echo( $urlKey ); ?>/" target="_self">Mahasamadhi Reports Home</a>
->&nbsp<a href="<?php echo( base_url() ); ?>cmb/member_reports/mahasamadhi_registrants_report_process/<?php echo( $urlKey ); ?>/" target="_self">Registrants Search</a>
->&nbsp<a href="<?php echo( base_url() ); ?>cmb/member_reports/mahasamadhi_registrants_report/<?php echo( $urlKey ); ?>/" target="_self">Registrants Summary</a>
</div>
<div class="walk-register-buttons" style="float: right;">
	<a href="<?php echo( base_url() ); ?>cmb/member/homepage_logout/"><img src="<?php echo( base_url() ); ?>assets/images/buttons/logout1.gif" border="0" /></a>
</div>
<?php
	Includes::IncludeFile( Includes::$FORM );
	Includes::IncludeFile( Includes::$SPACER );

	//Registration detail info
	//----------------------------------------
	Spacer::Render(0, 40);
	echo('<font color = "blue">'.$loggedinname.' is currently logged in</font>');
	Spacer::Render(0, 10);
	echo('<b>Registration Summary</b>');
	echo('<hr />');
	
	echo('<div class="form-item"><div class="form-item-key" style="margin: 0 10px 0 0; width: 115px;">Reg Code:</div><div class="form-item-value" style="width: 250px;">');
		echo( form_label('<font size="2" color="black"><b>'.$ms_registration_value->getRegCode().'</b></font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: 3px 0 0 -7px; white-space: nowrap; width: 130px;')) );
	echo('</div><div class="clear"></div></div>');
	
	echo('<div class="form-item"><div class="form-item-key" style="margin: 0 10px 0 0; width: 115px;">Reg Type:</div><div class="form-item-value" style="width: 250px;">');
		echo( form_label('<font size="2" color="black">'.$ms_registration_value->getRegistrationTypeDescription().'</font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: 3px 0 0 -7px; white-space: nowrap; width: 130px;')) );
	echo('</div><div class="clear"></div></div>');

	echo('<div class="form-item"><div class="form-item-key" style="margin: 0 10px 0 0; width: 115px;">First Name:</div><div class="form-item-value" style="width: 250px;">');
		echo( form_label('<font size="2" color="black">'.$ms_registration_value->getFirstName().'</font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: 3px 0 0 -7px; white-space: nowrap; width: 130px;')) );
	echo('</div><div class="clear"></div></div>');
	
	echo('<div class="form-item"><div class="form-item-key" style="margin: -9px 10px 0 0; width: 115px;">Last Name:</div><div class="form-item-value" style="width: 250px;">');
		echo( form_label('<font size="2" color="black">'.$ms_registration_value->getLastName().'</font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: -6px 0 0 -7px; white-space: nowrap; width: 130px;')) );
	echo('</div><div class="clear"></div></div>');

	echo('<div class="form-item"><div class="form-item-key" style="margin: -9px 10px 0 0; width: 115px;">Email:</div><div class="form-item-value" style="width: 250px;">');
		echo( form_label('<font size="2" color="black">'.$ms_registration_value->getEmail().'</font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: -6px 0 0 -7px; white-space: nowrap; width: 130px;')) );
	echo('</div><div class="clear"></div></div>');
	
	echo('<div class="form-item"><div class="form-item-key" style="margin: -9px 10px 0 0; width: 115px;">Phone#:</div><div class="form-item-value" style="width: 250px;">');
		echo( form_label('<font size="2" color="black">'.$ms_registration_value->getPhone().'</font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: -6px 0 0 -7px; white-space: nowrap; width: 130px;')) );
	echo('</div><div class="clear"></div></div>');
	
	echo('<div class="form-item"><div class="form-item-key" style="margin: -9px 10px 0 0; width: 115px;">Address1:</div><div class="form-item-value" style="width: 250px;">');
		echo( form_label('<font size="2" color="black">'.$ms_registration_value->getAddress().'</font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: -6px 0 0 -7px; white-space: nowrap; width: 130px;')) );
	echo('</div><div class="clear"></div></div>');

	echo('<div class="form-item"><div class="form-item-key" style="margin: -9px 10px 0 0; width: 115px;">Address2:</div><div class="form-item-value" style="width: 250px;">');
		echo( form_label('<font size="2" color="black">'.$ms_registration_value->getAddress1().'</font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: -6px 0 0 -7px; white-space: nowrap; width: 130px;')) );
	echo('</div><div class="clear"></div></div>');

	echo('<div class="form-item"><div class="form-item-key" style="margin: -9px 10px 0 0; width: 115px;">City:</div><div class="form-item-value" style="width: 250px;">');
		echo( form_label('<font size="2" color="black">'.$ms_registration_value->getCity().'</font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: -6px 0 0 -7px; white-space: nowrap; width: 130px;')) );
	echo('</div><div class="clear"></div></div>');

	echo('<div class="form-item"><div class="form-item-key" style="margin: -9px 10px 0 0; width: 115px;">State/Province:</div><div class="form-item-value" style="width: 250px;">');
		echo( form_label('<font size="2" color="black">'.$ms_registration_value->getState().'</font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: -6px 0 0 -7px; white-space: nowrap; width: 130px;')) );
	echo('</div><div class="clear"></div></div>');

	echo('<div class="form-item"><div class="form-item-key" style="margin: -9px 10px 0 0; width: 115px;">Country:</div><div class="form-item-value" style="width: 250px;">');
		echo( form_label('<font size="2" color="black">'.$ms_registration_value->getCountry().'</font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: -6px 0 0 -7px; white-space: nowrap; width: 130px;')) );
	echo('</div><div class="clear"></div></div>');

	echo('<div class="form-item"><div class="form-item-key" style="margin: -9px 10px 0 0; width: 115px;">Postal Code:</div><div class="form-item-value" style="width: 250px;">');
		echo( form_label('<font size="2" color="black">'.$ms_registration_value->getZip().'</font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: -6px 0 0 -7px; white-space: nowrap; width: 130px;')) );
	echo('</div><div class="clear"></div></div>');

	echo('<div class="form-item"><div class="form-item-key" style="margin: -9px 10px 0 0; width: 115px;">Reg Type:</div><div class="form-item-value" style="width: 250px;">');
		echo( form_label('<font size="2" color="black">'.$ms_registration_value->getRegistrationCaseDescription().'</font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: -6px 0 0 -7px; white-space: nowrap; width: 130px;')) );
	echo('</div><div class="clear"></div></div>');

	if ($ms_registration_value->getNumAdultRegistered() > 0)
	{
		echo('<div class="form-item"><div class="form-item-key" style="margin: -9px 10px 0 0; width: 115px;">#Adults:</div><div class="form-item-value" style="width: 250px;">');
			echo( form_label('<font size="2" color="black">'.$ms_registration_value->getNumAdultRegistered().'</font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: -6px 0 0 -7px; white-space: nowrap; width: 130px;')) );
		echo('</div><div class="clear"></div></div>');
	}
	
	if ($ms_registration_value->getNumChildRegistered() > 0)
	{
		echo('<div class="form-item"><div class="form-item-key" style="margin: -9px 10px 0 0; width: 115px;">#Children:</div><div class="form-item-value" style="width: 250px;">');
			echo( form_label('<font size="2" color="black">'.$ms_registration_value->getNumChildRegistered().'</font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: -6px 0 0 -7px; white-space: nowrap; width: 130px;')) );
		echo('</div><div class="clear"></div></div>');
	}

	if ($ms_registration_value->getNumCHYKRegistered() > 0)
	{
		echo('<div class="form-item"><div class="form-item-key" style="margin: -9px 10px 0 0; width: 115px;">#CHYK\'s:</div><div class="form-item-value" style="width: 250px;">');
			echo( form_label('<font size="2" color="black">'.$ms_registration_value->getNumCHYKRegistered().'</font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: -6px 0 0 -7px; white-space: nowrap; width: 130px;')) );
		echo('</div><div class="clear"></div></div>');
	}

	echo('<div class="form-item"><div class="form-item-key" style="margin: -9px 10px 0 0; width: 115px;">Sponsorship:</div><div class="form-item-value" style="width: 250px;">');
		echo( form_label('<font size="2" color="black">'.$ms_registration_value->getSponsorship().'</font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: -6px 0 0 -7px; white-space: nowrap; width: 130px;')) );
	echo('</div><div class="clear"></div></div>');

	echo('<div class="form-item"><div class="form-item-key" style="margin: -9px 10px 0 0; width: 115px;">Pay Type:</div><div class="form-item-value" style="width: 250px;">');
		echo( form_label('<font size="2" color="black">'.$ms_registration_value->getpaymentType().'</font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: -6px 0 0 -7px; white-space: nowrap; width: 130px;')) );
	echo('</div><div class="clear"></div></div>');

	switch ($ms_registration_value->getPaymentStatus())
	{
		case 0:
			$paystatus = "UNPAID";
			break;
		case 1:
			$paystatus = "PAID";
			break;
		case 2:
			$paystatus = "PENDING";
			break;
		case 3:
			$paystatus = "REFUND";
			break;
	}
	
	echo('<div class="form-item"><div class="form-item-key" style="margin: -9px 10px 0 0; width: 115px;">Pay Status:</div><div class="form-item-value" style="width: 250px;">');
		echo( form_label('<font size="2" color="black">'.$paystatus.'</font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: -6px 0 0 -7px; white-space: nowrap; width: 130px;')) );
	echo('</div><div class="clear"></div></div>');

	if ($ms_registration_value->getpaymentType() == "check")
	{
		echo('<div class="form-item"><div class="form-item-key" style="margin: -9px 10px 0 0; width: 115px;">Check#:</div><div class="form-item-value" style="width: 250px;">');
			echo( form_label('<font size="2" color="black">'.$ms_registration_value->getCheckNum().'</font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: -6px 0 0 -7px; white-space: nowrap; width: 130px;')) );
		echo('</div><div class="clear"></div></div>');
	}
	else
	{
		echo('<div class="form-item"><div class="form-item-key" style="margin: -9px 10px 0 0; width: 115px;">Pay TXN ID:</div><div class="form-item-value" style="width: 250px;">');
			echo( form_label('<font size="2" color="black">'.$ms_registration_value->getPaymentTransactionID().'</font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: -6px 0 0 -7px; white-space: nowrap; width: 130px;')) );
		echo('</div><div class="clear"></div></div>');
	}

	if ($ms_registration_value->getEnabled() == 1)
		$regstatus = "Enabled";
	else
		$regstatus = "Disabled";
		
	echo('<div class="form-item"><div class="form-item-key" style="margin: -9px 10px 0 0; width: 115px;">Reg Status:</div><div class="form-item-value" style="width: 250px;">');
		echo( form_label('<font size="2" color="black">'.$regstatus.'</font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: -6px 0 0 -7px; white-space: nowrap; width: 130px;')) );
	echo('</div><div class="clear"></div></div>');

	if ($ms_registration_value->getComments() != "")
	{
		echo ( form_label('<font size="2" color="black"><b><u>Comments:</u></b></font>','comments',array('class'=>'comments','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 7px 0; margin: -4px 0 0 0; width: 400px;')) );
		Spacer::Render(0, 25);
		echo( form_textarea(array('name'=>'comments','id'=>'comments','value'=>$ms_registration_value->getComments(),'readonly'=>'readonly','maxlength'=>'128','rows'=>'5','cols'=>'80','style'=>'margin: 0 0 0 3px; margin: 0 0 0 0; width: 400px;')) );
		Spacer::Render(0, 75);
	}
	echo('<hr />');

	
	$snwc = $ms_registration_value->getSpecialNeedsWheelchair();
	$snrm = $ms_registration_value->getSpecialNeedsRoom();
	$sr = $ms_registration_value->getSpecialRequests();

	if (($snwc > 0) || ($snrm > 0) | ($sr != ""))
	{
		Spacer::Render(0, 30);
		echo('<b>Special Requests</b>');
		echo('<hr />');
		if ($snwc > 0)
			echo ( form_label('<font size="2" color="blue">-Wheelchair Requested</font>','tmp',array('class'=>'tmp','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0; margin: 0px 0 4px 10px; width: 300px;')) );		

		if ($snrm > 0)
			echo ( form_label('<font size="2" color="blue">-Handicapped Accessible Room Requested</font>','tmp',array('class'=>'tmp','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0; margin: 0px 0 4px 10px; width: 300px;')) );		

		if ($sr != "")
			echo ( form_label('<font size="2" color="blue">-'.$sr.'</font>','tmp',array('class'=>'tmp','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0; margin: 0px 0 4px 10px; width: 300px;')) );		
		
		Spacer::Render(0, 75);
		echo('<hr />');
	}

	$numAdult = $ms_registration_value->getNumAdultRegistered();
	if ($numAdult > 0)
	{
		Spacer::Render(0, 30);
		echo('<b>Adult Details</b>');
		echo('<hr />');
		for($i=0; $i<$ms_registration_value->getNumAdultRegistered(); $i++)
		{
			if ($i > 0) Spacer::Render(0, 30);
			$adultInfoArr = $ms_registration_value->getAdultInfo();
			$adultRec = $adultInfoArr[$i];

			echo ( form_label('<font size="2" color="black">'.$adultRec["firstname"].' '.$adultRec["lastname"].'</font>','tmp',array('class'=>'tmp','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0; margin: 0px 0 4px 10px; width: 300px;')) );
			echo ( form_label('<font size="2" color="black">Gender: '.$adultRec["gender"].'</font>','tmp',array('class'=>'tmp','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0; margin: 0px 0 4px 10px; width: 300px;')) );
			if ($adultRec["dietrest"] != "")
				echo ( form_label('<font size="2" color="black">Diet Restrictions: '.$adultRec["dietrest"].'</font>','tmp',array('class'=>'tmp','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0; margin: 0px 0 4px 10px; width: 300px;')) );
			else
				echo ( form_label('<font size="2" color="black">Diet Restrictions: none</font>','tmp',array('class'=>'tmp','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0; margin: 0px 0 4px 10px; width: 300px;')) );

			if (strtolower($adultRec["allergies"]) != "none")
			{
				Spacer::Render(0, 95);
				echo ( form_label('<font size="2" color="black">Allergies:</font>','comments',array('class'=>'comments','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0 0 7px 0; margin: 0 0 0 8px; width: 400px;')) );
				Spacer::Render(0, 30);
				echo( form_textarea(array('name'=>'comments','id'=>'comments','value'=>$adultRec["allergies"],'readonly'=>'readonly','maxlength'=>'128','rows'=>'5','cols'=>'80','style'=>'margin: 0 0 0 3px; margin: -6px 0 0 8px; width: 400px;')) );
				Spacer::Render(0, 30);
			}
			else
			{
				Spacer::Render(0, 25);
				echo ( form_label('<font size="2" color="black">Allergies: none</font>','tmp',array('class'=>'tmp','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0; margin: 0 0 4px 10px; width: 300px;')) );
				echo("</br>");
				Spacer::Render(0, 75);
			}
		}

		echo('<hr />');
	}

	$numChild = $ms_registration_value->getNumChildRegistered();
	if ($numChild > 0)
	{
		Spacer::Render(0, 30);
		echo('<b>Children Details</b>');
		echo('<hr />');

		for($i=0; $i<$ms_registration_value->getNumChildRegistered(); $i++)
		{
			if ($i > 0) Spacer::Render(0, 30);
			$childInfoArr = $ms_registration_value->getChildInfo();
			$childRec = $childInfoArr[$i];

			echo ( form_label('<font size="2" color="black">'.$childRec["firstname"].' '.$childRec["lastname"].'</font>','tmp',array('class'=>'tmp','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0; margin: 0px 0 4px 10px; width: 300px;')) );
			echo ( form_label('<font size="2" color="black">Gender: '.$childRec["gender"].'</font>','tmp',array('class'=>'tmp','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0; margin: 0px 0 4px 10px; width: 300px;')) );
			echo ( form_label('<font size="2" color="black">Age: '.$childRec["age"].'</font>','tmp',array('class'=>'tmp','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0; margin: 0px 0 4px 10px; width: 300px;')) );

			if ($childRec["dietrest"] != "")
				echo ( form_label('<font size="2" color="black">Diet Restrictions: '.$childRec["dietrest"].'</font>','tmp',array('class'=>'tmp','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0; margin: 0px 0 4px 10px; width: 300px;')) );
			else
				echo ( form_label('<font size="2" color="black">Diet Restrictions: none</font>','tmp',array('class'=>'tmp','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0; margin: 0px 0 4px 10px; width: 300px;')) );

			if (strtolower($childRec["allergies"]) != "none")
			{
				Spacer::Render(0, 95);
				echo ( form_label('<font size="2" color="black">Allergies:</font>','comments',array('class'=>'comments','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0 0 7px 0; margin: 0 0 0 8px; width: 400px;')) );
				Spacer::Render(0, 30);
				echo( form_textarea(array('name'=>'comments','id'=>'comments','value'=>$childRec["allergies"],'readonly'=>'readonly','maxlength'=>'128','rows'=>'5','cols'=>'80','style'=>'margin: 0 0 0 3px; margin: -6px 0 0 8px; width: 400px;')) );
				Spacer::Render(0, 30);
			}
			else
			{
				Spacer::Render(0, 25);
				echo ( form_label('<font size="2" color="black">Allergies: none</font>','tmp',array('class'=>'tmp','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0; margin: 0 0 4px 10px; width: 300px;')) );
				echo("</br>");
				Spacer::Render(0, 75);
			}
		}
		echo('<hr />');
	}

	$numCHYK = $ms_registration_value->getNumCHYKRegistered();
	if ($numCHYK > 0)
	{
		Spacer::Render(0, 30);
		echo('<b>CHYK Details</b>');
		echo('<hr />');

		for($i=0; $i<$numCHYK; $i++)
		{
			if ($i > 0) Spacer::Render(0, 30);
			$chykInfoArr = $ms_registration_value->getCHYKInfo();
			$chykRec = $chykInfoArr[$i];

			echo ( form_label('<font size="2" color="black">'.$chykRec["firstname"].' '.$chykRec["lastname"].'</font>','tmp',array('class'=>'tmp','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0; margin: 0px 0 4px 10px; width: 300px;')) );
			echo ( form_label('<font size="2" color="black">Gender: '.$chykRec["gender"].'</font>','tmp',array('class'=>'tmp','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0; margin: 0px 0 4px 10px; width: 300px;')) );
			if ($chykRec["dietrest"] != "")
				echo ( form_label('<font size="2" color="black">Diet Restrictions: '.$chykRec["dietrest"].'</font>','tmp',array('class'=>'tmp','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0; margin: 0px 0 4px 10px; width: 300px;')) );
			else
				echo ( form_label('<font size="2" color="black">Diet Restrictions: none</font>','tmp',array('class'=>'tmp','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0; margin: 0px 0 4px 10px; width: 300px;')) );

			if (strtolower($chykRec["allergies"]) != "none")
			{
				Spacer::Render(0, 95);
				echo ( form_label('<font size="2" color="black">Allergies:</font>','comments',array('class'=>'comments','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0 0 7px 0; margin: 0 0 0 8px; width: 400px;')) );
				Spacer::Render(0, 30);
				echo( form_textarea(array('name'=>'comments','id'=>'comments','value'=>$chykRec["allergies"],'readonly'=>'readonly','maxlength'=>'128','rows'=>'5','cols'=>'80','style'=>'margin: 0 0 0 3px; margin: -6px 0 0 8px; width: 400px;')) );
				Spacer::Render(0, 30);
			}
			else
			{
				Spacer::Render(0, 25);
				echo ( form_label('<font size="2" color="black">Allergies: none</font>','tmp',array('class'=>'tmp','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0; margin: 0 0 4px 10px; width: 300px;')) );
				echo("</br>");
				Spacer::Render(0, 75);
			}
		}
		echo('<hr />');
	}

	if (($ms_registration_value->getNumBiksha() > 0) && ($ms_registration_value->getNumArathi() > 0))
	{
		Spacer::Render(0, 30);
		echo('<b>Sponsorship Details</b>');
		echo('<hr />');
		$dayname = array('Monday, July 30<sup>th</sup>','Tuesday, July 31<sup>st</sup>','Wednesday, August 1<sup>st</sup>','Thursday, August 2<sup>nd</sup>','Friday, August 3<sup>rd</sup>');
		if ($ms_registration_value->getNumBiksha() > 0)
		{
			echo('<div class="form-item"><div class="form-item-key" style="margin: -4px 10px 0 0; width: 170px;"><u>#Bhiksha Sponsorships:</u></div><div class="form-item-value" style="width: 250px;">');
				echo( form_label('<font size="2" color="black">'.$ms_registration_value->getNumBiksha().'</font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: 0 0 0 -7px; white-space: nowrap; width: 130px;')) );
			echo('</div><div class="clear"></div></div>');
			Spacer::Render(0, 5);
			$eventname = array('Morning Bhiksha','Lunch Bhiksha','Evening Bhiksha');
			for($i=0; $i<$ms_registration_value->getNumBiksha(); $i++)
			{
				$bikshaInfoArr = $ms_registration_value->getBikshaInfo();
				$bikshaRec = $bikshaInfoArr[$i];
				$dayid = intval($bikshaRec["dayid"]);
				$sessid = intval($bikshaRec["eventid"]);
	
				echo ( form_label('<font size="2" color="blue">-'.$dayname[$dayid-1].' - '.$eventname[$sessid-1].'</font>','tmp',array('class'=>'sncomments','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0; margin: -10px 0 4px 10px; width: 300px;')) );
				echo("</br>");
				Spacer::Render(0, 5);
			}
			
			echo('<div style="clear: both;"></div>');
		}			
	
		if ($ms_registration_value->getNumArathi() > 0)
		{
			echo('<div class="form-item"><div class="form-item-key" style="margin: -4px 10px 0 0; width: 170px;"><u>#Arathi Sponsorships:</u></div><div class="form-item-value" style="width: 250px;">');
				echo( form_label('<font size="2" color="black">'.$ms_registration_value->getNumArathi().'</font>','fn',array('class'=>'fn','style'=>'display: block; float: left; vertical-align: middle; padding: 0 0 0 0; margin: 0 0 0 -7px; white-space: nowrap; width: 130px;')) );
			echo('</div><div class="clear"></div></div>');
			Spacer::Render(0, 5);
			$eventname = array('Morning Arathi','Lunch Arathi','Evening Arathi');
			for($i=0; $i<$ms_registration_value->getNumArathi(); $i++)
			{
				$arathiInfoArr = $ms_registration_value->getArathiInfo();
				$arathiRec = $arathiInfoArr[$i];
				$dayid = intval($arathiRec["dayid"]);
				$sessid = intval($arathiRec["eventid"]);
	
				echo ( form_label('<font size="2" color="blue">-'.$dayname[$dayid-1].' - '.$eventname[$sessid-1].'</font>','tmp',array('class'=>'sncomments','style'=>'clear: left; display: block; float: left; vertical-align: middle; padding: 0; margin: -10px 0 4px 10px; width: 300px;')) );
				echo("</br>");
				Spacer::Render(0, 5);
			}
		}
		
		echo('<hr />');
	}

	echo( form_close() );
?>
